package com.huawei.demo.enums;

/**
 * 模板状态枚举类
 */
public enum TemplateState {
    DISABLE(0, "禁用"),
    ENABLE(1, "启用");

    private final int code;

    private final String desc;

    TemplateState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
